package com.itqf.entity;

import com.fasterxml.jackson.annotation.JsonInclude;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class Exercise {
    private Integer exerciseid;

    private String userid;

    private String question;

    private String answer;

    private String exercisesubject;

    private Integer collectstate;

    private Integer exercisegreadid;

    public Integer getExerciseid() {
        return exerciseid;
    }

    public void setExerciseid(Integer exerciseid) {
        this.exerciseid = exerciseid;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question == null ? null : question.trim();
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer == null ? null : answer.trim();
    }

    public String getExercisesubject() {
        return exercisesubject;
    }

    public void setExercisesubject(String exercisesubject) {
        this.exercisesubject = exercisesubject == null ? null : exercisesubject.trim();
    }

    public Integer getCollectstate() {
        return collectstate;
    }

    public void setCollectstate(Integer collectstate) {
        this.collectstate = collectstate;
    }

    public Integer getExercisegreadid() {
        return exercisegreadid;
    }

    public void setExercisegreadid(Integer exercisegreadid) {
        this.exercisegreadid = exercisegreadid;
    }
}